import axios from '@/utils/request';

export function getEquipmentList(params) {
    return axios.post({
        url: '/equipment/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editEquipment(params) {
    return axios.post({
        url: '/equipment/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteEquipment(params) {
    return axios.post({
        url: '/equipment/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadEquipment(params) {
    return axios.post({
        url: '/equipment/load',
        data: params
    }).then((res) => {
        return res
    })
}

